package com.qiaofang.collectmanage.stub.facade;

import com.qiaofang.collectmanage.stub.request.*;
import com.qiaofang.collectmanage.stub.response.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "collectmanage",url="${feign.url.collectmanage}")
@RequestMapping("/operatorlog")
@Api(tags = "operatorlog", description = "操作日志")
public interface OperatorLogFacade {


    @RequestMapping(value = "/batchSaveOperatorLog", method = RequestMethod.POST)
    @ApiOperation(value = "批量保存对象", notes = "批量保存对象")
    @ApiImplicitParams({@ApiImplicitParam(name = "request", value = "请求参数", dataType = "SaveOperatorLogRequest") })
    public SaveOperatorLogResponse batchSaveOperatorLog(SaveOperatorLogRequest request);


    @RequestMapping(value = "/searchOperatorLogPage", method = RequestMethod.POST)
    @ApiOperation(value = "查询多个对象不包含删的分页列表", notes = "获取多个对象不包含删的分页列表")
    @ApiImplicitParams({@ApiImplicitParam(name = "request", value = "请求参数", dataType = "SearchOperatorLogPageRequest") })
    public SearchOperatorLogPageResponse searchOperatorLogPage(SearchOperatorLogPageRequest request);





}
